package com.xinqi.modules.sys.rotation.dto.rsp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 系统轮播图-响应对象
 *
 * @author: yyzhenn
 * @date: 2023/04/23
 */
@Data
@Schema(description = "系统轮播图-响应对象")
public class RotationImageResultDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键", example = "")
    private Long id;
    /**
     * 创建者
     */
    @Schema(description = "创建者", example = "")
    private Long createBy;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间", example = "")
    private LocalDateTime createTime;
    /**
     * 类型，PC、APP
     */
    @Schema(description = "类型，PC、APP", example = "")
    private String type;
    /**
     * 轮播位置
     */
    @Schema(description = "轮播位置", example = "")
    private String position;
    /**
     * 用户角色
     */
    @Schema(description = "用户角色（字典表 -- sys_identity）", example = "1")
    private Integer userRole;
    /**
     * 名称
     */
    @Schema(description = "名称", example = "")
    private String name;
    /**
     * 图片
     */
    @Schema(description = "图片", example = "")
    private String image;
    /**
     * 跳转链接
     */
    @Schema(description = "跳转链接", example = "")
    private String url;
    /**
     * 排序
     */
    @Schema(description = "排序", example = "")
    private Integer sort;
    /**
     * 状态，0-禁用；1-启动
     */
    @Schema(description = "状态，0-禁用；1-启动", example = "")
    private Integer enableStatus;
    /**
     * 发布时间
     */
    @Schema(description = "发布时间", example = "")
    private LocalDateTime releaseTime;
    /**
     * 备注
     */
    @Schema(description = "备注", example = "")
    private String remark;

}
